import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    value: 123
  },
  mutations: {
    value (state,value) {
      state.value = value
    }
  },
  actions: {

  },
    getters: {
      value: state => state.value
    }
})
